{strip}
<ul class="home_categ_menu">
	{foreach from=$shopitems item=item name=dl}
	<li class="home_categ_list" {if $smarty.request.navop == $item->Id || $smarty.request.categ == $item->Id}id="act"{/if}>
			<a title="{$item->visible_title|escape:'html'}" 
			onfocus="if(this.blur)this.blur()"  
			class="cat" 
			{*{if !$smarty.foreach.dl.last}style="border-right: 1px dashed #DBDBDB;"{/if}*}>
				{*<div class="cat_name" id="cat_name_{$item->Id}">*}{$item->visible_title|truncate:'30'}{*</div>*}
			</a>
			{if $item->sub}	
				<ul class="home_categ_submenu" id="submenu_{$item->Id}">
					{foreach from=$item->sub item=sub name=subs}
							<li><a {if $smarty.request.categ == $sub->Id}class="submenu_categtitle_n_a"{else}class="submenu_categtitle_n"{/if} title="{$sub->visible_title|escape:'html'}" href="/category-{$sub->Id}-{$sub->Elter}-{get_parent_shopcateg id=$sub->Id}">{$sub->visible_title|escape:'html'}</a>
							{if $sub->sub}
								<ul class="home_categ_submenu2" id="submenu_{$item->Id}">
								{foreach from=$sub->sub item=sub2 name=subs}
									<li><a {if $smarty.request.categ == $sub2->Id}class="submenu_categtitle_n_a2"{else}class="submenu_categtitle_n2"{/if} title="{$sub2->visible_title|escape:'html'}" href="/category-{$sub2->Id}-{$sub2->Elter}-{get_parent_shopcateg id=$sub2->Id}">{$sub2->visible_title|escape:'html'}</a>
								
								{/foreach}
								</ul>
							{/if}
							</li>
					{/foreach}
				</ul>
			{/if}
				{if $smarty.request.categ == $item->Id || $smarty.request.navop == $item->Id}
					<script  type="text/javascript">
						mark_menu({$item->Id});
					</script>				
				{/if}	
		</li>		
	{/foreach}	
</ul>
{*<div style="clear:both"></div>*}
{/strip}























{*
{assign var="cols" value=3}
{assign var="maxsubs" value=5}
    <div class="box">
      <div class="block">
        <div class="mod_shop_newprod_box">
          <table width="100%"  cellpadding="0" cellspacing="0">
            <tr>
				{foreach from=$shopitems item=item name=dl}
				<td valign="top">
					{assign var=op value=$smarty.request.navop}
		 <table width="100%"  cellpadding="5" cellspacing="5">
			<tr>
				<td valign="top" style="width: 5%;" >&nbsp;</td>
				<td valign="top" style="padding: 0 0 0 10px;">
					<a title="{$item->visible_title|escape:'html'}" href="{$item->dyn_link}">
						<div class="">{$item->visible_title|truncate:'30'}</div>
						{if $item->Bild!=''}
							<img src="modules/shop/uploads/{$item->Bild}" alt="" border="0" />
						{else}
							<img src="{$shop_images}folder.gif" alt=""/>
						{/if}	
					</a>			
				</td>
			</tr>
			<tr>
				<td valign="top" style="width: 5%;" >


				</td>
				
				
				<td valign="top" style="padding: 0 0 0 10px;">
							<ul>
								{foreach from=$item->sub item=sub name=subs}
									{if $smarty.request.categ==""}
										{if ($smarty.foreach.subs.iteration <= $maxsubs)}
											<li><a class="categtitle_n" title="{$sub->visible_title|escape:'html'}" href="index.php?module=shop&categ={$sub->Id}&amp;parent={$sub->Elter}&amp;navop={get_parent_shopcateg id=$sub->Id}">{$sub->visible_title|escape:'html'} </a></li>
											{if !$smarty.foreach.subs.last}{/if}
										{else}
											{if $showalllink!=1}
												<li>
												<a class="categtitle_n" href="index.php?module=shop&categ={$item->Id}&amp;parent={$item->Elter}&amp;navop={get_parent_shopcateg id=$item->Id}">{#ShowAll#}</a></li>
												{assign var=showalllink value=1}
											{/if}
										{/if}
									{else}
										<li>
										<a class="categtitle_n" title="{$sub->visible_title|escape:'html'}" href="index.php?module=shop&categ={$sub->Id}&amp;parent={$sub->Elter}&amp;navop={get_parent_shopcateg id=$sub->Id}">{$sub->visible_title|escape:'html'} </a></li>
										
									{/if}
								{/foreach}
							</ul>
							{assign var=showalllink value=0}
				</td>
				
				
			</tr>
		</table>
				</td>
					{if $smarty.foreach.dl.iteration % $cols == 0}
					{/if}
				{/foreach}

            </tr>
          </table>
        </div>
      </div>
    </div>
	
	
*}	